package com.example.data.factory.entity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lhy
 * @since 2025-03-03
 */
@Getter
@Setter
@TableName("data_asset_field")
@ApiModel(value = "DataAssetField对象", description = "")
public class DataAssetField implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("数据资产字段id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("英文名")
    private String englishName;

    @ApiModelProperty("中文名")
    private String chineseName;

    @ApiModelProperty("字段说明")
    private String description;

    @ApiModelProperty("数据资产id")
    private Integer dataAssetId;

    @ApiModelProperty("数据标准映射id")
    private Integer dataStandardId;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
}
